<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin: 0;
        }
        .title{
            line-height: 40px;
            font-weight: bold;
            text-align: center;
        }
        .list .item{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px;
        }
        .list  .item img{
            width: 60px;
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="title">热门单品</div>
        <div class="list">
            <div class="item" v-for="(item,index) in tasklist" v-bind:key="index">
                <div class="left">
                    <img v-bind:src="item.pic" alt="">
                </div>
                <div class="middle">
                    <div class="name">{{item.name}}</div>
                    <div class="duihuan">{{item.desc}}</div>
                    <div class="money">{{item.money}}</div>
                    <div class="mendian">{{item.mendian}}</div>
                </div>
                <div class="right">
                    <button>{{item.status}}</button>
                </div>

            </div>
        </div>
    </div>

    <script src="./vue-2.5.21.js"></script>
<script>
    var v=new Vue({
        el:'#app',
        data:{
            tasklist:[
                {id:1,pic:'./ing/01.webp', name:'脐橙三斤 快递到家',desc:'兑换后入手价8.9元',money:'10',mendian:'适用门店>',status:'立即兑'},
                {id:2,pic:'./ing/02.webp', name:'耙耙柑2斤 快递到家',desc:'兑换后入手价9.9元',money:'10',mendian:'适用门店>',status:'立即兑'},
                {id:3,pic:'./ing/03.webp', name:'水果捞350g',desc:'兑换后入手价6.9元',money:'10',mendian:'适用门店>',status:'立即兑'}

            ]
        },
        

    })

</script>
</body>

</html>